package com.CST.service.impl.cb;

import com.CST.entity.cb.CostItemTypeDict;
import com.CST.mapper.cst.cb.CostItemTypeDictMapper;
import com.CST.service.cb.ICostItemTypeDictService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ly
 * @since 2022-04-27
 */
@Service
public class CostItemTypeDictServiceImpl extends ServiceImpl<CostItemTypeDictMapper, CostItemTypeDict> implements ICostItemTypeDictService {
    
    @Autowired
    private CostItemTypeDictMapper costItemTypeDictMapper;

    /**
     * 模糊查询成本项目字典，不分页
     * @param costItemTypeDict
     * @return
     */
    @Override
    public List<CostItemTypeDict> listCostItemDictByFuzzy(CostItemTypeDict costItemTypeDict) {
        List<CostItemTypeDict> costItemTypeDictList = costItemTypeDictMapper.listCostItemDictByFuzzy(costItemTypeDict);
        return costItemTypeDictList;
    }
}
